/* 
 * File:   Node.h
 * Author: Lucky
 *
 * Created on 28. září 2011, 12:52
 */

#ifndef NODE_H
#define	NODE_H

#include "Coordinate.h"

enum Action {
    SWITCH, LEAVE
};

class Node {
public:
    Node(int x, int y, Action action);
    Node(const Node& orig);
    virtual ~Node();
//    Coordinate getCoordinate();
    Action getAction() const;
    bool isPopped() const;
    void setPopped();
    int x,y;
private:
    //Coordinate* m_coord;
        
    Action m_action;
    bool m_popped;
};

#endif	/* NODE_H */

